﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.Drawing;
using System.IO;
using System.Drawing.Imaging;
using DevExpress.XtraEditors;
using System.Data;

namespace eSolution_HRMSS
{
    public class HRMSS_Ultil
    {
        private string loithaotac = ConfigurationManager.AppSettings["loithaotac"].ToString();

        public string Loithaotac
        {
            get { return loithaotac; }
            set { loithaotac = value; }
        }

        private string chuoiDIC_SYMBOLData = ConfigurationManager.AppSettings["chuoiDIC_SYMBOLData"].ToString();

        public string ChuoiDIC_SYMBOLData
        {
            get { return chuoiDIC_SYMBOLData; }
            set { chuoiDIC_SYMBOLData = value; }
        }

        private string chuoiDIC_SHIFTData = ConfigurationManager.AppSettings["chuoiDIC_SHIFTData"].ToString();

        public string ChuoiDIC_SHIFTData
        {
            get { return chuoiDIC_SHIFTData; }
            set { chuoiDIC_SHIFTData = value; }
        }
        private string chuoiDIC_SCHOOLDATA = ConfigurationManager.AppSettings["chuoiDIC_SCHOOLDATA"].ToString();

        public string ChuoiDIC_SCHOOLDATA
        {
            get { return chuoiDIC_SCHOOLDATA; }
            set { chuoiDIC_SCHOOLDATA = value; }
        }
        private string loi_tuoiduoi18 = ConfigurationManager.AppSettings["loi_tuoiduoi18"].ToString();

        public string Loi_tuoiduoi18
        {
            get { return loi_tuoiduoi18; }
            set { loi_tuoiduoi18 = value; }
        }

        private string chuoiDIC_MINIMUMSALARYData = ConfigurationManager.AppSettings["chuoiDIC_MINIMUMSALARYData"].ToString();

        public string ChuoiDIC_MINIMUMSALARYData
        {
            get { return chuoiDIC_MINIMUMSALARYData; }
            set { chuoiDIC_MINIMUMSALARYData = value; }
        }
        private string loi_botrong = ConfigurationManager.AppSettings["loi_botrong"].ToString();

        public string Loi_botrong
        {
            get { return loi_botrong; }
            set { loi_botrong = value; }
        }

        private string chuoiDIC_SALARY_STEPData = ConfigurationManager.AppSettings["chuoiDIC_SALARY_STEPData"].ToString();

        public string ChuoiDIC_SALARY_STEPData
        {
            get { return chuoiDIC_SALARY_STEPData; }
            set { chuoiDIC_SALARY_STEPData = value; }
        }
        private string chuoiDIC_HOLIDAYData = ConfigurationManager.AppSettings["chuoiDIC_HOLIDAYData"].ToString();

        public string ChuoiDIC_HOLIDAYData
        {
            get { return chuoiDIC_HOLIDAYData; }
            set { chuoiDIC_HOLIDAYData = value; }
        }

        private string chuoiDIC_SALARY_RANKData = ConfigurationManager.AppSettings["chuoiDIC_SALARY_RANKData"].ToString();

        public string ChuoiDIC_SALARY_RANKData
        {
            get { return chuoiDIC_SALARY_RANKData; }
            set { chuoiDIC_SALARY_RANKData = value; }
        }
        private string chuoiDIC_HOSPITALData = ConfigurationManager.AppSettings["chuoiDIC_HOSPITALData"].ToString();

        public string ChuoiDIC_HOSPITALData
        {
            get { return chuoiDIC_HOSPITALData; }
            set { chuoiDIC_HOSPITALData = value; }
        }

        private string chuoiDIC_PROVINCEData = ConfigurationManager.AppSettings["chuoiDIC_PROVINCEData"].ToString();

        public string ChuoiDIC_PROVINCEData
        {
            get { return chuoiDIC_PROVINCEData; }
            set { chuoiDIC_PROVINCEData = value; }
        }

        private string chuoiDIC_RATEData = ConfigurationManager.AppSettings["chuoiDIC_RATEData"].ToString();

        public string ChuoiDIC_RATEData
        {
            get { return chuoiDIC_RATEData; }
            set { chuoiDIC_RATEData = value; }
        }

        private string chuoiHRM_TIMEKEEPER_SHIFTData = ConfigurationManager.AppSettings["chuoiHRM_TIMEKEEPER_SHIFTData"].ToString();

        public string ChuoiHRM_TIMEKEEPER_SHIFTData
        {
            get { return chuoiHRM_TIMEKEEPER_SHIFTData; }
            set { chuoiHRM_TIMEKEEPER_SHIFTData = value; }
        }

        private string chuoiHRM_TIMEKEEPER_TABLEData = ConfigurationManager.AppSettings["chuoiHRM_TIMEKEEPER_TABLEData"].ToString();

        public string ChuoiHRM_TIMEKEEPER_TABLEData
        {
            get { return chuoiHRM_TIMEKEEPER_TABLEData; }
            set { chuoiHRM_TIMEKEEPER_TABLEData = value; }
        }

        private string chuoiHRM_TIMEKEEPER_TABLELISTData = ConfigurationManager.AppSettings["chuoiHRM_TIMEKEEPER_TABLELISTData"].ToString();

        public string ChuoiHRM_TIMEKEEPER_TABLELISTData
        {
            get { return chuoiHRM_TIMEKEEPER_TABLELISTData; }
            set { chuoiHRM_TIMEKEEPER_TABLELISTData = value; }
        }

        private string chuoiHRM_TIMEKEEPERData = ConfigurationManager.AppSettings["chuoiHRM_TIMEKEEPERData"].ToString();

        public string ChuoiHRM_TIMEKEEPERData
        {
            get { return chuoiHRM_TIMEKEEPERData; }
            set { chuoiHRM_TIMEKEEPERData = value; }
        }

        private string chuoiHRM_TRAINING_EMPLOYEEData = ConfigurationManager.AppSettings["chuoiHRM_TRAINING_EMPLOYEEData"].ToString();

        public string ChuoiHRM_TRAINING_EMPLOYEEData
        {
            get { return chuoiHRM_TRAINING_EMPLOYEEData; }
            set { chuoiHRM_TRAINING_EMPLOYEEData = value; }
        }

        private string chuoiHRM_TRAININGData = ConfigurationManager.AppSettings["chuoiHRM_TRAININGData"].ToString();

        public string ChuoiHRM_TRAININGData
        {
            get { return chuoiHRM_TRAININGData; }
            set { chuoiHRM_TRAININGData = value; }
        }

        private string chuoiHRM_WELFAREData = ConfigurationManager.AppSettings["chuoiHRM_WELFAREData"].ToString();

        public string ChuoiHRM_WELFAREData
        {
            get { return chuoiHRM_WELFAREData; }
            set { chuoiHRM_WELFAREData = value; }
        }

        private string chuoiHRM_WORKData = ConfigurationManager.AppSettings["chuoiHRM_WORKData"].ToString();

        public string ChuoiHRM_WORKData
        {
            get { return chuoiHRM_WORKData; }
            set { chuoiHRM_WORKData = value; }
        }

        private string chuoiSYS_COMPANYData = ConfigurationManager.AppSettings["chuoiSYS_COMPANYData"].ToString();

        public string ChuoiSYS_COMPANYData
        {
            get { return chuoiSYS_COMPANYData; }
            set { chuoiSYS_COMPANYData = value; }
        }

        private string chuoiSYS_GROUP_OBJECTData = ConfigurationManager.AppSettings["chuoiSYS_GROUP_OBJECTData"].ToString();

        public string ChuoiSYS_GROUP_OBJECTData
        {
            get { return chuoiSYS_GROUP_OBJECTData; }
            set { chuoiSYS_GROUP_OBJECTData = value; }
        }

        private string chuoiSYS_GROUPData = ConfigurationManager.AppSettings["chuoiSYS_GROUPData"].ToString();

        public string ChuoiSYS_GROUPData
        {
            get { return chuoiSYS_GROUPData; }
            set { chuoiSYS_GROUPData = value; }
        }

        private string themthanhcong = ConfigurationManager.AppSettings["themthanhcong"].ToString();

        public string Themthanhcong
        {
            get { return themthanhcong; }
            set { themthanhcong = value; }
        }
        private string suathanhcong = ConfigurationManager.AppSettings["suathanhcong"].ToString();

        public string Suathanhcong
        {
            get { return suathanhcong; }
            set { suathanhcong = value; }
        }
        private string xoathanhcong = ConfigurationManager.AppSettings["xoathanhcong"].ToString();

        public string Xoathanhcong
        {
            get { return xoathanhcong; }
            set { xoathanhcong = value; }
        }
        private string chuoihocvan = ConfigurationManager.AppSettings["chuoihocvan"].ToString();

        public string Chuoihocvan
        {
            get { return chuoihocvan; }
            set { chuoihocvan = value; }
        }

        private string chuoivitri = ConfigurationManager.AppSettings["chuoivitri"].ToString();

        public string Chuoivitri
        {
            get { return chuoivitri; }
            set { chuoivitri = value; }
        }
        private string chuoibangcap = ConfigurationManager.AppSettings["chuoibangcap"].ToString();

        public string Chuoibangcap
        {
            get { return chuoibangcap; }
            set { chuoibangcap = value; }
        }

        private string chuoiphongban = ConfigurationManager.AppSettings["chuoiphongban"].ToString();
        public string Chuoiphongban
        {
            get { return chuoiphongban; }
            set { chuoiphongban = value; }
        }

        private string chuoinoidaotao = ConfigurationManager.AppSettings["chuoinoidaotao"].ToString();

        public string Chuoinoidaotao
        {
            get { return chuoinoidaotao; }
            set { chuoinoidaotao = value; }
        }
        private string chuoiHRM_CANDIDATE_MARKData = ConfigurationManager.AppSettings["chuoiHRM_CANDIDATE_MARKData"].ToString();

        public string ChuoiHRM_CANDIDATE_MARKData
        {
            get { return chuoiHRM_CANDIDATE_MARKData; }
            set { chuoiHRM_CANDIDATE_MARKData = value; }
        }

        private string chuoiHRM_CANDIDATE_DEGREEData = ConfigurationManager.AppSettings["chuoiHRM_CANDIDATE_DEGREEData"].ToString();

        public string ChuoiHRM_CANDIDATE_DEGREEData

        
        {
            get { return chuoiHRM_CANDIDATE_DEGREEData; }
            set { chuoiHRM_CANDIDATE_DEGREEData = value; }
        }
        private string chuoiHRM_CANDIDATEData = ConfigurationManager.AppSettings["chuoiHRM_CANDIDATEData"].ToString();

        public string ChuoiHRM_CANDIDATEData
        {
            get { return chuoiHRM_CANDIDATEData; }
            set { chuoiHRM_CANDIDATEData = value; }
        }


        private string chuoiHRM_CANDIDATE_RATEData = ConfigurationManager.AppSettings["chuoiHRM_CANDIDATE_DEGREEData"].ToString();

        public string ChuoiHRM_CANDIDATE_RATEData
        {
            get { return chuoiHRM_CANDIDATE_RATEData; }
            set { chuoiHRM_CANDIDATE_RATEData = value; }
        }

        private string chuoiHRM_CONTRACTData = ConfigurationManager.AppSettings["chuoiHRM_CONTRACTData"].ToString();

        public string ChuoiHRM_CONTRACTData
        {
            get { return chuoiHRM_CONTRACTData; }
            set { chuoiHRM_CONTRACTData = value; }
        }
        private string chuoiHRM_DEPARTMENT_RATEData = ConfigurationManager.AppSettings["chuoiHRM_DEPARTMENT_RATEData"].ToString();

        public string ChuoiHRM_DEPARTMENT_RATEData
        {
            get { return chuoiHRM_DEPARTMENT_RATEData; }
            set { chuoiHRM_DEPARTMENT_RATEData = value; }
        }

        private string chuoiHRM_DEPARTMENTData = ConfigurationManager.AppSettings["chuoiHRM_DEPARTMENTData"].ToString();

        public string ChuoiHRM_DEPARTMENTData
        {
            get { return chuoiHRM_DEPARTMENTData; }
            set { chuoiHRM_DEPARTMENTData = value; }
        }

        private string chuoiDISCIPLINE_EMPLOYEEData = ConfigurationManager.AppSettings["chuoiDISCIPLINE_EMPLOYEEData"].ToString();

        public string ChuoiDISCIPLINE_EMPLOYEEData
        {
            get { return chuoiDISCIPLINE_EMPLOYEEData; }
            set { chuoiDISCIPLINE_EMPLOYEEData = value; }
        }

        private string chuoiEMPLOYEE_DEGREEData = ConfigurationManager.AppSettings["chuoiEMPLOYEE_DEGREEData"].ToString();

        public string ChuoiEMPLOYEE_DEGREEData
        {
            get { return chuoiEMPLOYEE_DEGREEData; }
            set { chuoiEMPLOYEE_DEGREEData = value; }
        }


        private string chuoiDISCIPLINEData = ConfigurationManager.AppSettings["chuoiDISCIPLINEData"].ToString();

        public string ChuoiDISCIPLINEData
        {
            get { return chuoiDISCIPLINEData; }
            set { chuoiDISCIPLINEData = value; }
        }

        private string chuoiGROUP_RATEData = ConfigurationManager.AppSettings["chuoiGROUP_RATEData"].ToString();

        public string ChuoiGROUP_RATEData
        {
            get { return chuoiGROUP_RATEData; }
            set { chuoiGROUP_RATEData = value; }
        }

        private string chuoiBT_HRM_GROUPData = ConfigurationManager.AppSettings["chuoiBT_HRM_GROUPData"].ToString();

        public string ChuoiBT_HRM_GROUPData
        {
            get { return chuoiBT_HRM_GROUPData; }
            set { chuoiBT_HRM_GROUPData = value; }
        }
        private string chuoiGROUPData = ConfigurationManager.AppSettings["chuoiGROUPData"].ToString();

        public string ChuoiGROUPData
        {
            get { return chuoiGROUPData; }
            set { chuoiGROUPData = value; }
        }

        private string chuoiINSURANCE_DECLARATIONData = ConfigurationManager.AppSettings["chuoiINSURANCE_DECLARATIONData"].ToString();

        public string ChuoiINSURANCE_DECLARATIONData
        {
            get { return chuoiINSURANCE_DECLARATIONData; }
            set { chuoiINSURANCE_DECLARATIONData = value; }
        }
        private string chuoiINSURANCE_MODIFYData = ConfigurationManager.AppSettings["chuoiINSURANCE_MODIFYData"].ToString();

        public string ChuoiINSURANCE_MODIFYData
        {
            get { return chuoiINSURANCE_MODIFYData; }
            set { chuoiINSURANCE_MODIFYData = value; }
        }
        private string chuoiINSURANCE_PROCESSData = ConfigurationManager.AppSettings["chuoiINSURANCE_PROCESSData"].ToString();

        public string ChuoiINSURANCE_PROCESSData
        {
            get { return chuoiINSURANCE_PROCESSData; }
            set { chuoiINSURANCE_PROCESSData = value; }
        }
        private string chuoiINSURANCE_TABLELISTData = ConfigurationManager.AppSettings["chuoiINSURANCE_TABLELISTData"].ToString();

        public string ChuoiINSURANCE_TABLELISTData
        {
            get { return chuoiINSURANCE_TABLELISTData; }
            set { chuoiINSURANCE_TABLELISTData = value; }
        }
        private string chuoiINSURANCEData = ConfigurationManager.AppSettings["chuoiINSURANCE_Data"].ToString();

        public string ChuoiINSURANCEData
        {
            get { return chuoiINSURANCEData;
           
        }
            set { chuoiINSURANCEData = value; }
        }

        private string chuoiPAYINSURANCE_C66AHDData = ConfigurationManager.AppSettings["chuoiPAYINSURANCE_C66AHDData"].ToString();

        public string ChuoiPAYINSURANCE_C66AHDData
        {
            get { return chuoiPAYINSURANCE_C66AHDData; }
            set { chuoiPAYINSURANCE_C66AHDData = value; }
        }

        private string chuoiPAYINSURANCE_C67AHDData = ConfigurationManager.AppSettings["chuoiPAYINSURANCE_C67AHDData"].ToString();

        public string ChuoiPAYINSURANCE_C67AHDData
        {
            get { return chuoiPAYINSURANCE_C67AHDData; }
            set { chuoiPAYINSURANCE_C67AHDData = value; }
        }

        private string chuoiPAYINSURANCE_C68AHDData = ConfigurationManager.AppSettings["chuoiPAYINSURANCE_C68AHDData"].ToString();

        public string ChuoiPAYINSURANCE_C68AHDData
        {
            get { return chuoiPAYINSURANCE_C68AHDData; }
            set { chuoiPAYINSURANCE_C68AHDData = value; }
        }
        private string chuoiPAYINSURANCE_C69AHDData = ConfigurationManager.AppSettings["chuoiPAYINSURANCE_C68AHDData"].ToString();

        public string ChuoiPAYINSURANCE_C69AHDData
        {
            get { return chuoiPAYINSURANCE_C69AHDData; }
            set { chuoiPAYINSURANCE_C69AHDData = value; }
        }

        private string chuoiPAYINSURANCE_TABLELISTData = ConfigurationManager.AppSettings["chuoiPAYINSURANCE_TABLELISTData"].ToString();

        public string ChuoiPAYINSURANCE_TABLELISTData
        {
            get { return chuoiPAYINSURANCE_TABLELISTData; }
            set { chuoiPAYINSURANCE_TABLELISTData = value; }
        }

        private string chuoiPROCESS_ACCIDENTData = ConfigurationManager.AppSettings["chuoiPROCESS_ACCIDENTData"].ToString();

        public string ChuoiPROCESS_ACCIDENTData
        {
            get { return chuoiPROCESS_ACCIDENTData; }
            set { chuoiPROCESS_ACCIDENTData = value; }
        }
        private string chuoiPROCESS_ADVANCEData = ConfigurationManager.AppSettings["chuoiPROCESS_ADVANCEData"].ToString();

        public string ChuoiPROCESS_ADVANCEData
        {
            get { return chuoiPROCESS_ADVANCEData; }
            set { chuoiPROCESS_ADVANCEData = value; }
        }
        private string chuoiPROCESS_ASSIGNMENTData = ConfigurationManager.AppSettings["chuoiPROCESS_ASSIGNMENTData"].ToString();

        public string ChuoiPROCESS_ASSIGNMENTData
        {
            get { return chuoiPROCESS_ASSIGNMENTData; }
            set { chuoiPROCESS_ASSIGNMENTData = value; }
        }
        private string chuoiPROCESS_DISCIPLINEData = ConfigurationManager.AppSettings["chuoiPROCESS_DISCIPLINEData"].ToString();

        public string ChuoiPROCESS_DISCIPLINEData
        {
            get { return chuoiPROCESS_DISCIPLINEData; }
            set { chuoiPROCESS_DISCIPLINEData = value; }
        }

        private string chuoiPROCESS_POSITIONData = ConfigurationManager.AppSettings["chuoiPROCESS_POSITIONData"].ToString();

        public string ChuoiPROCESS_POSITIONData
        {
            get { return chuoiPROCESS_POSITIONData; }
            set { chuoiPROCESS_POSITIONData = value; }
        }

        private string chuoiPROCESS_RATEData = ConfigurationManager.AppSettings["chuoiPROCESS_RATEData"].ToString();

        public string ChuoiPROCESS_RATEData
        {
            get { return chuoiPROCESS_RATEData; }
            set { chuoiPROCESS_RATEData = value; }
        }

        private string chuoiPROCESS_RATEDETAILData = ConfigurationManager.AppSettings["chuoiPROCESS_RATEDETAILData"].ToString();

        public string ChuoiPROCESS_RATEDETAILData
        {
            get { return chuoiPROCESS_RATEDETAILData; }
            set { chuoiPROCESS_RATEDETAILData = value; }
        }

        private string chuoiPROCESS_REWARDData = ConfigurationManager.AppSettings["chuoiPROCESS_REWARDData"].ToString();

        public string ChuoiPROCESS_REWARDData
        {
            get { return chuoiPROCESS_REWARDData; }
            set { chuoiPROCESS_REWARDData = value; }
        }

        private string chuoiPROCESS_SALARYData = ConfigurationManager.AppSettings["chuoiPROCESS_SALARYData"].ToString();

        public string ChuoiPROCESS_SALARYData
        {
            get { return chuoiPROCESS_SALARYData; }
            set { chuoiPROCESS_SALARYData = value; }
        }
        private string chuoiPROCESS_TRAININGData = ConfigurationManager.AppSettings["chuoiPROCESS_TRAININGData"].ToString();

        public string ChuoiPROCESS_TRAININGData
        {
            get { return chuoiPROCESS_TRAININGData; }
            set { chuoiPROCESS_TRAININGData = value; }
        }

        private string chuoiRECRUITMENTData = ConfigurationManager.AppSettings["chuoiRECRUITMENTData"].ToString();

        public string ChuoiRECRUITMENTData
        {
            get { return chuoiRECRUITMENTData; }
            set { chuoiRECRUITMENTData = value; }
        }
        private string chuoiREWARD_EMPLOYEEData = ConfigurationManager.AppSettings["chuoiREWARD_EMPLOYEEData"].ToString();

        public string ChuoiREWARD_EMPLOYEEData
        {
            get { return chuoiREWARD_EMPLOYEEData; }
            set { chuoiREWARD_EMPLOYEEData = value; }
        }
        private string chuoiREWARDData = ConfigurationManager.AppSettings["chuoiREWARDData"].ToString();

        public string ChuoiREWARDData
        {
            get { return chuoiREWARDData; }
            set { chuoiREWARDData = value; }
        }

        private string chuoiSALARY_ALLOWANCEData = ConfigurationManager.AppSettings["chuoiSALARY_ALLOWANCEData"].ToString();

        public string ChuoiSALARY_ALLOWANCEData
        {
            get { return chuoiSALARY_ALLOWANCEData; }
            set { chuoiSALARY_ALLOWANCEData = value; }
        }

        private string chuoiSALARY_BYDEPARTMENTData = ConfigurationManager.AppSettings["chuoiSALARY_BYDEPARTMENTData"].ToString();

        public string ChuoiSALARY_BYDEPARTMENTData
        {
            get { return chuoiSALARY_BYDEPARTMENTData; }
            set { chuoiSALARY_BYDEPARTMENTData = value; }
        }

        private string chuoiSALARY_MINUSData = ConfigurationManager.AppSettings["chuoiSALARY_MINUSData"].ToString();

        public string ChuoiSALARY_MINUSData
        {
            get { return chuoiSALARY_MINUSData; }
            set { chuoiSALARY_MINUSData = value; }
        }

        private string chuoiSALARY_OVERTIMEData = ConfigurationManager.AppSettings["chuoiSALARY_OVERTIMEData"].ToString();

        public string ChuoiSALARY_OVERTIMEData
        {
            get { return chuoiSALARY_OVERTIMEData; }
            set { chuoiSALARY_OVERTIMEData = value; }
        }

        private string chuoiSALARY_PLUSData = ConfigurationManager.AppSettings["chuoiSALARY_PLUSData"].ToString();

        public string ChuoiSALARY_PLUSData
        {
            get { return chuoiSALARY_PLUSData; }
            set { chuoiSALARY_PLUSData = value; }
        }

        private string chuoiSALARY_TABLELISTData = ConfigurationManager.AppSettings["chuoiSALARY_TABLELISTData"].ToString();

        public string ChuoiSALARY_TABLELISTData
        {
            get { return chuoiSALARY_TABLELISTData; }
            set { chuoiSALARY_TABLELISTData = value; }
        }

        private string chuoiSALARYData = ConfigurationManager.AppSettings["chuoiSALARYData"].ToString();

        public string ChuoiSALARYData
        {
            get { return chuoiSALARYData; }
            set { chuoiSALARYData = value; }
        }

        private string chuoiTIMEKEEPER_FURLOUGHData = ConfigurationManager.AppSettings["chuoiTIMEKEEPER_FURLOUGHData"].ToString();

        public string ChuoiTIMEKEEPER_FURLOUGHData
        {
            get { return chuoiTIMEKEEPER_FURLOUGHData; }
            set { chuoiTIMEKEEPER_FURLOUGHData = value; }
        }

        private string chuoiTIMEKEEPER_MACHINEData = ConfigurationManager.AppSettings["chuoiTIMEKEEPER_MACHINEData"].ToString();

        public string ChuoiTIMEKEEPER_MACHINEData
        {
            get { return chuoiTIMEKEEPER_MACHINEData; }
            set { chuoiTIMEKEEPER_MACHINEData = value; }
        }
        private string chuoiTIMEKEEPER_OVERTIMEData = ConfigurationManager.AppSettings["chuoiTIMEKEEPER_OVERTIMEData"].ToString();

        public string ChuoiTIMEKEEPER_OVERTIMEData
        {
            get { return chuoiTIMEKEEPER_OVERTIMEData; }
            set { chuoiTIMEKEEPER_OVERTIMEData = value; }
        }




        private string chuoichinhanh = ConfigurationManager.AppSettings["chuoichinhanh"].ToString();

        public string Chuoichinhanh
        {
            get { return chuoichinhanh; }
            set { chuoichinhanh = value; }
        }
        private string chuoibv = ConfigurationManager.AppSettings["chuoibv"].ToString();

        public string Chuoibv
        {
            get { return chuoibv; }
            set { chuoibv = value; }
        }
        private string choinoidaotao = ConfigurationManager.AppSettings["choinoidaotao"].ToString();

        public string Choinoidaotao
        {
            get { return choinoidaotao; }
            set { choinoidaotao = value; }
        }

        private string chuoiHRM_EMPLOYEE_RELATIVEData = ConfigurationManager.AppSettings["chuoiHRM_EMPLOYEE_RELATIVEData"].ToString();

        public string ChuoiHRM_EMPLOYEE_RELATIVEData
        {
            get { return chuoiHRM_EMPLOYEE_RELATIVEData; }
            set { chuoiHRM_EMPLOYEE_RELATIVEData = value; }
        }

        private string chuoinv = ConfigurationManager.AppSettings["chuoinv"].ToString();

        public string Chuoinv
        {
            get { return chuoinv; }
            set { chuoinv = value; }
        }

        private string chuoicommon = ConfigurationManager.AppSettings["chuoicommon"].ToString();

        public string Chuoicommon
        {
            get { return chuoicommon; }
            set { chuoicommon = value; }
        }

        private string chuoiphucap = ConfigurationManager.AppSettings["chuoiphucap"].ToString();

        public string Chuoiphucap
        {
            get { return chuoiphucap; }
            set { chuoiphucap = value; }
        }

        private string chuoidantoc = ConfigurationManager.AppSettings["chuoidantoc"].ToString();

        public string Chuoidantoc
        {
            get { return chuoidantoc; }
            set { chuoidantoc = value; }
        }


        private string chuoi_HRM_EMPLOYEE_ALLOWANCE = ConfigurationManager.AppSettings["chuoi_HRM_EMPLOYEE_ALLOWANCE"].ToString();

        public string Chuoi_HRM_EMPLOYEE_ALLOWANCE
        {
            get { return chuoi_HRM_EMPLOYEE_ALLOWANCE; }
            set { chuoi_HRM_EMPLOYEE_ALLOWANCE = value; }
        }

        private string chuoichuyenmon = ConfigurationManager.AppSettings["chuoichuyenmon"].ToString();

        public string Chuoichuyenmon
        {
            get { return chuoichuyenmon; }
            set { chuoichuyenmon = value; }
        }

        private string chuoicongviec = ConfigurationManager.AppSettings["chuoicongviec"].ToString();

        public string Chuoicongviec
        {
            get { return chuoicongviec; }
            set { chuoicongviec = value; }
        }


        private string chuoikinang = ConfigurationManager.AppSettings["chuoikinang"].ToString();

        public string Chuoikinang
        {
            get { return chuoikinang; }
            set { chuoikinang = value; }
        }

        private string chuoiquanhegiadinh = ConfigurationManager.AppSettings["chuoiquanhegiadinh"].ToString();

        public string Chuoiquanhegiadinh
        {
            get { return chuoiquanhegiadinh; }
            set { chuoiquanhegiadinh = value; }
        }

        private string chuoingoaingu = ConfigurationManager.AppSettings["chuoingoaingu"].ToString();

        public string Chuoingoaingu
        {
            get { return chuoingoaingu; }
            set { chuoingoaingu = value; }
        }

        private string chuoitinhoc = ConfigurationManager.AppSettings["chuoitinhoc"].ToString();

        public string Chuoitinhoc
        {
            get { return chuoitinhoc; }
            set { chuoitinhoc = value; }
        }

        private string chuoitongiao = ConfigurationManager.AppSettings["chuoitongiao"].ToString();

        public string Chuoitongiao
        {
            get { return chuoitongiao; }
            set { chuoitongiao = value; }
        }


        private string chuoiquoctich = ConfigurationManager.AppSettings["chuoiquoctich"].ToString();

        public string Chuoiquoctich
        {
            get { return chuoiquoctich; }
            set { chuoiquoctich = value; }
        }

        private string loi_thieuthongtin = ConfigurationManager.AppSettings["loi_thieuthongtin"].ToString();

        public string Loi_thieuthongtin
        {
            get { return loi_thieuthongtin; }
            set { loi_thieuthongtin = value; }
        }

        private string chuoiSYS_LOGData = ConfigurationManager.AppSettings["chuoiSYS_LOGData"].ToString();

        public string ChuoiSYS_LOGData
        {
            get { return chuoiSYS_LOGData; }
            set { chuoiSYS_LOGData = value; }
        }

        private string chuoiKEYCODEData = ConfigurationManager.AppSettings["chuoiKEYCODEData"].ToString();

        public string ChuoiKEYCODEData
        {
            get { return chuoiKEYCODEData; }
            set { chuoiKEYCODEData = value; }
        }

        private string chuoiSYS_INFOData = ConfigurationManager.AppSettings["chuoiSYS_INFOData"].ToString();

        public string ChuoiSYS_INFOData
        {
            get { return chuoiSYS_INFOData; }
            set { chuoiSYS_INFOData = value; }
        }

        private string chuoiSOFTData = ConfigurationManager.AppSettings["chuoiSOFTData"].ToString();

        public string ChuoiSOFTData
        {
            get { return chuoiSOFTData; }
            set { chuoiSOFTData = value; }
        }

        private string chuoiSYS_OBJECTData = ConfigurationManager.AppSettings["chuoiSYS_OBJECTData"].ToString();

        public string ChuoiSYS_OBJECTData
        {
            get { return chuoiSYS_OBJECTData; }
            set { chuoiSYS_OBJECTData = value; }
        }

        private string chuoiSYS_OPTIONData = ConfigurationManager.AppSettings["chuoiSYS_OPTIONData"].ToString();

        public string ChuoiSYS_OPTIONData
        {
            get { return chuoiSYS_OPTIONData; }
            set { chuoiSYS_OPTIONData = value; }
        }

        private string chuoiSYS_RULEData = ConfigurationManager.AppSettings["chuoiSYS_RULEData"].ToString();

        public string ChuoiSYS_RULEData
        {
            get { return chuoiSYS_RULEData; }
            set { chuoiSYS_RULEData = value; }
        }

        private string chuoiSYS_USERData = ConfigurationManager.AppSettings["chuoiSYS_USERData"].ToString();

        public string ChuoiSYS_USERData
        {
            get { return chuoiSYS_USERData; }
            set { chuoiSYS_USERData = value; }
        }

        private string loisoam = ConfigurationManager.AppSettings["loisoam"].ToString();

        public string Loisoam
        {
            get { return loisoam; }
            set { loisoam = value; }
        }

        private string vuilongchonmot = ConfigurationManager.AppSettings["vuilongchonmot"].ToString();

        public string Vuilongchonmot
        {
            get { return vuilongchonmot; }
            set { vuilongchonmot = value; }
        }
        private string loitontai = ConfigurationManager.AppSettings["loitontai"].ToString();

        public string Loitontai
        {
            get { return loitontai; }
            set { loitontai = value; }
        }
        private string xacnhanxoa = ConfigurationManager.AppSettings["xacnhanxoa"].ToString();

        public string Xacnhanxoa
        {
            get { return xacnhanxoa; }
            set { xacnhanxoa = value; }
        }



        public DateTime FirstDayOfMonthFromDateTime(DateTime dateTime)
        {
            DateTime dt = new DateTime(dateTime.Year, dateTime.Month, 1);
            return dt;
        }
        public DateTime LastDayOfMonthFromDateTime(DateTime dateTime)
        {
            DateTime firstDayOfTheMonth = new DateTime(dateTime.Year, dateTime.Month, 1);
            return firstDayOfTheMonth.AddMonths(1).AddDays(-1);
        }
        public Image create_image_from_byte_string(byte[] hinh)
        {
            return Image.FromStream(new MemoryStream(hinh));
        }
        public byte[] ConvertImageToByteArray(Image imageToConvert, ImageFormat formatOfImage)
        {
            byte[] Ret=null;
            if (imageToConvert != null)
            {
                try
                {
                    using (MemoryStream ms = new MemoryStream())
                    {
                        imageToConvert.Save(ms, formatOfImage);
                        Ret = ms.ToArray();
                    }
                }
                catch (Exception) { throw; }
            }
            return Ret;
        }
        public string Get_select_value_lookupedit(LookUpEdit lu_edit, string column_name)
        {
            object row = lu_edit.Properties.GetDataSourceRowByKeyValue(lu_edit.EditValue);
            if (row != null)
            {
                string value = ((DataRowView)row)[column_name].ToString();
                return value;
            }

            return "";
        }
    }
}
